package com.geline.mybatisplus.handler;

import java.io.Serializable;

/**
 * 外键处理器
 *
 * @author mx
 * @date 2025/9/27
 */
public interface ForeignKeyHandler {

    public Serializable getMainKey(Object entity, String mainTable, String foreignKey);

    public Object getMainEntity(Object entity, String mainTable, String foreignKey);
}
